﻿/*Anim class*/

var Anim = function ()
{
    alert('hello');
};

Anim.prototype.start = function ()
{
    alert('function start');
}

Anim.prototype.end = function ()
{
    aler('function end');
}


var Anim2 = function ()
{
    alert('Anim2 alert');
};
Anim2.prototype = 
{
    start: function()
    {
        alert('start method');

    },
    end: function()
    {
        alert('end method');
    }
}